package cn.spikego.advicelite.client.eventapi.events

abstract class EventStoppable protected constructor() : Event {

    private var stopped: Boolean = false

    /** 将事件标记为已中断 */
    fun stop() {
        stopped = true
    }

    /** 检查事件是否已中断 */
    fun isStopped(): Boolean = stopped
}